<template>
    <el-card class="box-card">
        <template #header>
        <div class="card-header">
            <span class="card-title">消息中心</span>
            <span class="more">
                <el-link type="primary">更多 >></el-link>
            </span>
        </div>
        </template>
        <div>
            <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
                <el-tab-pane label="全部消息" name="first">当前无消息</el-tab-pane>
                <el-tab-pane label="价格调整" name="second">Config</el-tab-pane>
                <el-tab-pane label="业务调整" name="third">Role</el-tab-pane>
                <el-tab-pane label="通知公告" name="fourth">Task</el-tab-pane>
                <el-tab-pane label="系统消息" name="five">Task</el-tab-pane>
            </el-tabs>
        </div>
    </el-card>
</template>
<script setup>
import { ref } from 'vue'
const activeName = ref('first')

</script>
<style lang="scss" scoped>
card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}

.box-card {
  width: 900px;
}
.more{
    float: right;
}
</style>